#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <roleman.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow, public   Roleman,public CGameMap
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void keyPressEvent(QKeyEvent *event);
    Roleman hero;
    CGameMap map;

private:
    Ui::MainWindow *ui;
};


#endif // MAINWINDOW_H
